﻿$master = ['', 'Manage.htm'];
$pagepath = ['/Pages/', '/Pages/Customer/', '/Pages/Admin/']
$commonpage = {
    defmaster:'default.htm',
    error: '/CommonPages/error.htm',
    nopage: '/CommonPages/nopage.htm',
    login:'login'
};
$page = {
    u_home: { url: 'Home.htm' }
    , u_news: { url: 'News.htm'}
    , u_pros: { url: 'Products.htm' }
    , u_about: { url: 'About.htm' }
    , u_contact: { url: 'Contacts.htm' }
    , u_register: { url: 'Register.htm' }
    , u_prov: { url: 'ProView.htm' }
    , u_help: { url: 'Help.htm' }
    , u_login: { url: 'Login.htm' }
    //customer
    , u_user: { url: 'User.htm', path: 1 }
    , u_setpsd: { url: 'SetPsd.htm', path: 1 }
   
    , u_order: { url: 'Order.htm', path: 1 }
    , u_feedback: { url: 'Feedback.htm', path: 1 }
    , u_addfd: { url: 'AddFD.htm', path: 1 }
    , u_fdview: { url: 'FDView.htm', path: 1 }
    , u_fdreply: { url: 'FDReply.htm', path: 1 }
    , u_ordadd: { url: 'OrderAdd.htm', path: 1 }
    , u_ordview: { url: 'OrderView.htm', path: 1 }
    //administrator
    , u_newslist: { url: 'NewsList.htm', master: 1, path: 2 }
    , u_newsedit: { url: 'NewsEdit.htm', master: 1, path: 2 }
    , u_cuslist: { url: 'CusList.htm', master: 1, path: 2 }
    , u_prolist: { url: 'ProList.htm', master: 1, path: 2 }
    , u_proedit: { url: 'ProEdit.htm', master: 1, path: 2 }
    , u_userview: { url: 'UserView.htm', path: 2 }
    , u_fdlist: { url: 'FDList.htm', master: 1, path: 2 }
    , u_ordlist: { url: 'OrderList.htm', master: 1, path: 2 }
    , u_ordedit: { url: 'OrderEdit.htm', master: 1, path: 2 }
}

$menus = {
    mainMenu: [{ name: 'Home', ui: 'u_home' }
                , { name: 'News', ui: 'u_news' }
                , { name: 'Products', ui: 'u_pros' }
               , { name: 'About Smart UI', ui: 'u_about' }
               , { name: 'Contact Me', ui: 'u_contact' }
               , { name: 'Help', ui: 'u_help' }
                ]
    , userMenu: [{ name: 'User Manage', ui: 'u_user', css: 'user' },
                , { name: 'Product Order', ui: 'u_order', css: 'order' }
                , { name: 'Feedback', ui: 'u_feedback', css: 'feedback' }
                ]
    , adminMenu: [{ name: 'Orders', ui: 'u_ordlist' }
                , { name: 'News', ui: 'u_newslist' }
                , { name: 'Feedback', ui: 'u_fdlist' }
                , { name: 'Products', ui: 'u_prolist' }
                , { name: 'Customers', ui: 'u_cuslist' }
                ]
}

$mytrees = [   { name: 'Orders', ui: 'u_ordlist' }
                , { name: 'News', ui: 'u_newslist' }
                , { name: 'Feedback', ui: 'u_fdlist' }
                , { name: 'Products', ui: 'u_prolist' }
                , { name: 'Customers', ui: 'u_cuslist' }
                 , { rows: 
                 [{ name: 'Home', ui: 'u_home' }
                , { name: 'News', ui: 'u_news' }
                , { name: 'Products', ui: 'u_pros' }
               , { name: 'About Smart UI', ui: 'u_about' }
               , { name: 'Contact Me', ui: 'u_contact' }
               , { name: 'Help', ui: 'u_help' }
                ], name: 'Home', ui: 'u_home'
                 }
]
                

      

